.books {
  display: flex;
  flex-direction: column;
  // align-items: center;
  background-color: #fff;
  border-radius: 5px;
  .banner {
    border-radius: 5px;
    width: 100%;
    max-height: 28rem;
    min-height: 17rem;
    height: 45vw;
    object-fit: cover;
  }
  .bookinfo {
    padding: 0.5rem;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    .name {
      font-size: 1.4rem;
      line-height: 1.5em;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .author {
      margin: 0.1rem 0;
      color: rgb(170, 170, 170);
      font-size: 1.2rem;
    }
    .grade {
      color: rgb(214, 186, 140);
      font-size: 1.2rem;
    }
  }
}

.user {
  // height: 4rem;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  .name {
    font-size: 1.7rem;
    color: #000;
  }
  img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-left: 1rem;
  }
  .price {
    display: flex;
    flex-wrap: wrap;
    margin-right: .6rem;
    h3 {
      font-size: 1.8rem;
      font-weight: normal;
      font-size: 1rem;
      padding: 0 0.5rem;
      color: #c75943;
      border: 1px solid #c75943;
      border-radius: 3px;
    }
  }
}
